import numpy as np
import pandas as pd
arr=np.random.randin(1,100,5)
print(arr)
print(pd.cut(arr,bin=5))
print(pd.cut(arr,bins=[0,20,40,60,80,100]))
print(pd.cut(arr))